package com.hyt.it.ogt.kq.service.gov.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author Chengxh
 * @since 2021-08-14
 */
@Data
@Accessors(chain = true)
@ApiModel(value="CandidateSubjectParam对象", description="考生科目参数对象")
public class CandidateSubjectParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "报考科目不能为空")
    @ApiModelProperty(value = "科目id(前端必传)")
    private String subjectId;

    @NotNull(message = "作答方式不能为空")
    @ApiModelProperty(value = "作答方式，1：电子作答，2：纸笔作答 (前端必传)")
    private Integer answerType;

}
